/*           Copyright(c) 2005-2008 Dave Sexton            *
 *                   HtmlEditor Control                    *
 * http://www.codeplex.com/DocProject/Project/License.aspx *
 ***********************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace DaveSexton.Controls
{
	public sealed class InsertTableCommandSettings
	{
		#region Public Properties
		public Size Dimensions
		{
			get
			{
				return dimensions;
			}
			set
			{
				dimensions = value;
			}
		}

		public string CssStyle
		{
			get
			{
				return cssStyle;
			}
			set
			{
				cssStyle = value;
			}
		}
		#endregion

		#region Private / Protected
		private Size dimensions;
		private string cssStyle;
		#endregion

		#region Constructors
		/// <summary>
		/// Constructs a new instance of the <see cref="InsertTableCommandSettings" /> class.
		/// </summary>
		public InsertTableCommandSettings()
		{
		}

		/// <summary>
		/// Constructs a new instance of the <see cref="InsertTableCommandSettings" /> class.
		/// </summary>
		public InsertTableCommandSettings(Size dimensions)
		{
			this.dimensions = dimensions;
		}

		/// <summary>
		/// Constructs a new instance of the <see cref="InsertTableCommandSettings" /> class.
		/// </summary>
		public InsertTableCommandSettings(string cssStyle)
		{
			this.cssStyle = cssStyle;
		}

		/// <summary>
		/// Constructs a new instance of the <see cref="InsertTableCommandSettings" /> class.
		/// </summary>
		public InsertTableCommandSettings(string cssStyle, Size dimensions)
		{
			this.cssStyle = cssStyle;
			this.dimensions = dimensions;
		}
		#endregion
	}
}
